package com.syyo.admin.feign;

import com.syyo.saas.common.domain.CompanyUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * @author: wang
 * @date: 2021/3/2 16:02
 * @Description:
 */
@FeignClient("syyo-admin-master")
public interface MasterAdminFeign {

    @PostMapping("/coCompany/login")
    public String companyLogin(@RequestBody CompanyUser user);
}
